Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,883
Community Members
 
Community Events
176
Community Groups

What does these command line means when pushing code to remote repo?

Edited

Dear All,

I found the command line executed on sourcetree when push code to remote are as follows,

could anyone help to explain what do these arguments mean?

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin develop:develop-mars

 

Thanks and Best regards,

E-John

1 answer

1 accepted

1 vote
Answer accepted

The `-c` options are to override the values in the config for this command alone.

Look for those options in the documentation (git-config) and you'll find your answers :

- `diff.mnemonicprefix`

- `core.quotepath`

The `--no-optimal-locks` is there: https://git-scm.com/docs/git#Documentation/git.txt---no-optional-locks 

`push` and everything that is behind can be explained reading this documentation (git-push).

A good way to improve your knowledge is to look directly in the documentation of the tools ahead. It's not so difficult to find ;-)

Happy learning.

Dear Arnaud JOLLY,

 

Thanks for your great helps and detailed explanations.

 

Best regards,

E-John

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events