- Introducation
- What's git
- What's github
- What's the difference between both
- How to use git
- Download and install git
- Add configs (e.g
git config --global user.name
) - Create a repo (e.g
git init
,git init -b ...
) - Update changes (e.g change the code)
- Check on tracked and untracked files (e.g
git status
) - Add changes (e.g
git add ...
) - Ban specific types of files (e.g
.gitignore
) - Commit changes (e.g
git commit -m ...
) - Check the commit's log(e.g
git log -p ...
) - Create branch (e.g
git branch ...
,git switch -c ...
) - Switch to branch (e.g
git switch ...
) - Merge branch (e.g
git merge -m ...
) - Delete branch(e.g
git branch -d ...
)
- How to use GitHub
- Sign up
- Create a repo
- Connect your local repo with the remote one (e.g
git remote add origin <repo url> && git branch -M main && git push -u origin <main branch name>
) - Pull changes from the remote repo into the local repo (e.g
git pull
) - Push changes from the local repo into the remote repo (e.g
git push origin ...
) - Make a pull request and issue
- Summary
-
Notifications
You must be signed in to change notification settings - Fork 0
Debo15/git-and-github
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
In this repo, you can find a simple tutorial for git and github
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published