GitBrain
1 of 1
http://docbox.flint.com:8081/GitBrain
GitBrain
An attampt to completely document the Git Cycle.
overview flint, 2 June 2023 (created 14 February 2023) Type the text for 'overview'
no tags
chatgpt You can fix the git error "your current branch 'master' does not have any commits yet #78" by committing to the master branch. To do this, you can use the following command: git commit -m "Commit message" This will add a commit to the master branch, and the error should no longer appear.
- init ◦ creates an empty repository for local and remote use ◦ OR
- clone gh repo list
◦ If cloning no need to init. ◦ cloning copies existing repository to local system from onther peer. • remote -v ◦ How do you test git's capability to transfer to github? ◦ If public private key stuff is working. gh auth login
- status
- diff
- add .
- commit -m "message"
- pushclone creates directory and moves stuff into it.
- pull
- diff
- branch -m "newname"
- log
Client Side Hints try "tree -a" gh repo list gh auth refresh
See also Ten Statement Git
6/9/23, 15:32