I am trying to add a function to my global gitconfig.
for example I made the following shortcuts.
com = checkout master
cod = checkout develop
Now I am trying to make a short command to make checking out features & release faster.
Want I basically want to create is the following
cof = checkout feature/
So i can run the following command
git cof feature-name
But because there shouldn't be a space in between the / and the name it's not working. Otherwise if I put no space in between it won't work either (which is logical)
git coffeature-name
Is there anyway I can fix this in a similar way.