Mercurial for Git users

Step 1

                    hg init
                    

Step 2

                    hg clone <URL>
                    

Step 3

                    hg add <file(s)>
                    

Step 4

                    hg commit [file(s)] [-m "Commit message"]
                    

Step 5

                    hg id -i
                    

Step 6

                    hg remove --after
                    

Step 7

                    hg rollback
                    

Step 8

                    default
                    

Step 9

                    master
                    

Step 10

                    hg branch <name>

                    

Step 11

                    hg up <name>
                    

Step 12

                    hg update <name>
                    

Step 13

                    hg pull 
                    

Step 14

                    hg pull -r <hash>
                    

Step 15

                    hg push --new-branch
                    

Step 16

                    hg identify -b
                    

Step 17

                    hg merge <name>
                    

Step 18

                    hg resolve -i (lists files with resolved/unresolved conflicts)
                    
Madra David
Madra David
1 minute read
TFT

Share this article

Next Post

An introduction to Day trading

Previous Post

Why Django Is Ideal for Startups

I send out tips on how to improve your website's performance

I send out tips on how to improve your website's performance

user-image

Published juin 26 2018

by Madra David