This is my first Git Repository.
Author - Debasish Ray (3rd Year B-Tech Student)
git config --global user.name "username"
git config --global user.email "your-email"
To check if Git is already configured, you can type: git config --list
- To initialize a git repository
git init
- To check the status of the repository:
git status
- Add all files for tracking:
- rerere (REuse REcorder REsolution)
git config --global rerere.enabled true
- To observe branches in different column format.
git config --global column.ui auto
git config --global branch.sort -committerdate
# This will allow you to view different branches in column format.
# Instead in one line.
git branch
git log --all --graph
git commit --amend -m "final changes"
git push --force-with-lease