Розбіжності
Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
| Порівняння попередніх версій
Попередня ревізія
Наступна ревізія
|
Попередня ревізія
|
programming:git [2020/10/28 02:49] charon [Links] |
programming:git [2024/10/22 12:52] (поточний) charon |
| git config --global core.safecrlf true | git config --global core.safecrlf true |
| | |
| | ===== Useful bash aliases ===== |
| | alias gfo='git fetch origin && git status' |
| | alias gitlog='git log --graph --oneline --decorate --all --color=never' |
| | alias gpull='git pull origin $(git rev-parse --abbrev-ref HEAD)' |
| | alias gpush='git push origin $(git rev-parse --abbrev-ref HEAD)' |
| | alias gst='git status' |
| ====== Links ====== | ====== Links ====== |
| * [[https://medium.freecodecamp.org/how-to-become-a-git-expert-e7c38bf54826|How to become a Git expert]] - about amend and rebase | * [[https://medium.freecodecamp.org/how-to-become-a-git-expert-e7c38bf54826|How to become a Git expert]] - about amend and rebase |
| * [[https://dev.to/citizen428/10-common-git-problems-and-how-to-fix-them-234o|10 Common Git Problems and How to Fix Them]] | * [[https://dev.to/citizen428/10-common-git-problems-and-how-to-fix-them-234o|10 Common Git Problems and How to Fix Them]] |
| * [[https://opensource.com/article/20/10/advanced-git-tips|7 Git tricks that changed my life]] | * [[https://opensource.com/article/20/10/advanced-git-tips|7 Git tricks that changed my life]] |
| | * [[https://opensource.com/article/20/10/git-config|Tweak your Git config for multiple user IDs]] |
| | * [[https://medium.com/swlh/effectively-handling-multiple-git-accounts-on-a-single-machine-8e4ddf878c59|Effectively Handling Multiple Git Accounts on a Single Machine]] |