Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taiseen/learning-git-demo
https://github.com/taiseen/learning-git-demo
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/taiseen/learning-git-demo
- Owner: taiseen
- Created: 2022-03-15T16:08:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-15T17:43:24.000Z (over 2 years ago)
- Last Synced: 2024-11-13T10:13:11.627Z (7 days ago)
- Language: CSS
- Homepage: https://taiseen.github.io/git-learning-demo/
- Size: 651 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
15 - Mar - 2022
1. git checkout -b `< Branch - Name >`
2. git rm -r *
* git reset --hard Head
3. git commit -m "remove all from main"* git branch
- (list of all branches)
* git checkout `< Branch - Name >`
- (going to that specific branches)
* git branch -D `< Branch - Name >`
- (for deleting a branch)
- but you must present in another branch & run this cmd
* git branch -m `< New Branch - Name >`
- (for the branch renaming)