Can you create variable in git?

Asked

Viewed 77 times

3

wanted to know if it is possible to create a variable in git to save the directories.

if I just type a word or something and it automatically goes to the saved directory and such

1 answer

3


to save you can use:

declare nomedavariavel=c/ocaminho...

and to use the variable use $+the variable:

cd $nomedavariavel
  • Thanks a lot!!! <3

Browser other questions tagged

You are not signed in. Login or sign up in order to post.