Skip to content

Instantly share code, notes, and snippets.

@gidgid
Last active October 12, 2019 20:15
Show Gist options
  • Save gidgid/29e340524cb1407001dae4521c0ca6ff to your computer and use it in GitHub Desktop.
Save gidgid/29e340524cb1407001dae4521c0ca6ff to your computer and use it in GitHub Desktop.
Using Gitconfig basic aliases
# add all files except untracked
$ git au
# add all files
$ git aa
# you can use it to add all the contents of a specific directory
$ git aa <dirname>
# add patch
$ git ap <filename>
# checkout & create a new branch
$ git cob <new-branch-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment