Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taiseen/learning-git-demo


https://github.com/taiseen/learning-git-demo

Last synced: 7 days ago
JSON representation

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)