start new:
tmux
start new with session name:
tmux new -s myname
| { | |
| "AED": "United Arab Emirates Dirham", | |
| "AFN": "Afghan Afghani", | |
| "ALL": "Albanian Lek", | |
| "AMD": "Armenian Dram", | |
| "ANG": "Netherlands Antillean Guilder", | |
| "AOA": "Angolan Kwanza", | |
| "ARS": "Argentine Peso", | |
| "AUD": "Australian Dollar", | |
| "AWG": "Aruban Florin", |
$ git checkout --orphan NEWBRANCH
$ git rm -rf .
--orphan creates a new branch, but it starts without any commit. After running the above command you are on a new branch "NEWBRANCH", and the first commit you create from this state will start a new history without any ancestry.
You can then start adding files and commit them and they will live in their own branch. If you take a look at the log, you will see that it is isolated from the original log.
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |