How to set a username in the Git server

0 votes

Hi Team,

I am new to Git. I want to set the username of the Git server. How can I do that?

Nov 19, 2020 in Git & GitHub by akhtar
• 38,170 points
40 views

1 answer to this question.

0 votes

Hi@akhtar,

In the Git server, you need to set the username and email address for the first time. You can use the below command to set the user name.

$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"
answered Nov 19, 2020 by MD
• 95,060 points

edited Nov 19, 2020 by MD

Related Questions In Git & GitHub

0 votes
1 answer

How to do a re-merge into another branch in git

Seems like you want to rebase your ...READ MORE

answered May 7, 2018 in Git & GitHub by DareDev
• 6,890 points
807 views
0 votes
1 answer
0 votes
2 answers

How to view the nested workflow of a local git repository?

The closest way to view branches in ...READ MORE

answered Aug 2, 2019 in Git & GitHub by Sirajul
• 58,990 points
338 views
0 votes
1 answer

How to solve the ‘Git commit -a error’?

This happens when no editor is set. ...READ MORE

answered Jul 5, 2018 in Git & GitHub by Tyrion anex
• 8,650 points
690 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
943 views
+2 votes
1 answer
0 votes
1 answer

How to list all the files in a commit in Git?

Hi@akhtar, Using git diff-tree is considered as a preferred way ...READ MORE

answered Dec 22, 2020 in Git & GitHub by MD
• 95,060 points
70 views
0 votes
1 answer

How do I go to a particular version of a file in the Git repository?

Hi@akhtar, You can use git checkout <sha1> to check ...READ MORE

answered Jan 5 in Git & GitHub by MD
• 95,060 points
125 views