Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
git best practice
Browse files Browse the repository at this point in the history
  • Loading branch information
3amyatin authored Nov 28, 2023
1 parent 3fd6080 commit fed1432
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions git/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# get help
# Git

## get help
```
git help # in general
git help tutorial # the very basics
Expand All @@ -8,11 +10,12 @@ git help blame
man git-blame
```

# get a file from history to another location
git show commit:filepath > location
## best practice
git show commit:filepath > location # get a file from history to another location
git for-each-ref --format "%(authorname)" | sort -u # get all authors



# todo
## todo
* https://www.freecodecamp.org/news/git-under-the-hood/
* https://www.freecodecamp.org/news/how-to-write-better-git-commit-messages/

0 comments on commit fed1432

Please sign in to comment.