Skip to content

Instantly share code, notes, and snippets.

@Edyta2801
Last active July 3, 2019 13:36
Show Gist options
  • Save Edyta2801/63bda11d277961a228f2f098dc2a3546 to your computer and use it in GitHub Desktop.
Save Edyta2801/63bda11d277961a228f2f098dc2a3546 to your computer and use it in GitHub Desktop.
git Bash Here (prawym w utworzonym katalogu projektu)
git config --global user.name "Jan Kowalski"
git config --global user.email "jan.kowalski@example.com"
git config --global -l (sprawdzenie ustawień globalnych)
git config --global alias.tree "log --graph --decorate --pretty=oneline --abbrev-commit" (alias git.tree)
git config --global push.default simple (alias git push)
git tag "v1" (dodawanie tagu do najnowszego commita)
git tree
git tag "v1" e754f41 (dodawanie tagu do konkretnego commita)
git add . && git commit -m "Add style for page header"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment