Trending questions in Git & GitHub

0 votes
3 answers

Git push vs git push origin

In simple words git push command updates ...READ MORE

Apr 23, 2019 in Git & GitHub by Hiran
63,957 views
0 votes
1 answer

What are the steps to work on any production issue in git?

Let's go through the steps to understand ...READ MORE

Nov 26, 2019 in Git & GitHub by Sirajul
• 44,350 points
82 views
0 votes
1 answer

Recovering a git branch

Check out the latest commit to this ...READ MORE

Nov 26, 2019 in Git & GitHub by Sirajul
• 44,350 points
58 views
0 votes
1 answer

Are the commands git stash apply and git stash pop the same?

They are almost similar except the fact ...READ MORE

Nov 25, 2019 in Git & GitHub by Sirajul
• 44,350 points
83 views
0 votes
0 answers

Difference between git rebase and git merge? Which among them is better to use? [closed]

Difference between git rebase and git merge? ...READ MORE

Nov 25, 2019 in Git & GitHub by anonymous
• 7,520 points

closed Nov 25, 2019 by Sirajul 64 views
0 votes
1 answer

Migrate from SVN to Git

Hey @Hannah, follow these steps: Create authors file ...READ MORE

Oct 29, 2019 in Git & GitHub by Payal
44 views
0 votes
0 answers
0 votes
2 answers

VSCode “please clean your repository working tree before checkout”

One of the ways is to stash ...READ MORE

Apr 22, 2019 in Git & GitHub by Nikhil
8,743 views
+1 vote
4 answers

error cloning remote repo 'origin'

ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Could ...READ MORE

Jun 3, 2019 in Git & GitHub by Sirajul
• 44,350 points
6,323 views
0 votes
1 answer

How to add a remote git repository in Jenkins

Follow these steps: Step 1 Go to Manage ...READ MORE

May 23, 2019 in Git & GitHub by Alok
122 views
0 votes
1 answer

I am not able to use pull, push, branch merge

Please execute the below command in the ...READ MORE

May 23, 2019 in Git & GitHub by Umer
62 views
0 votes
2 answers

Trying to change the password in gitlab's active directory

I think gitlab does not have write ...READ MORE

May 17, 2019 in Git & GitHub by Umer
81 views
+1 vote
0 answers

Give full access permission to another user in GitHub

How do I give full access permission ...READ MORE

May 15, 2019 in Git & GitHub by Umer
188 views
0 votes
4 answers
0 votes
2 answers

What is git rebasing?

In Git, there are two main ways ...READ MORE

Aug 2, 2019 in Git & GitHub by Sirajul
• 44,350 points
191 views
+1 vote
5 answers

ERROR: 'git' is not recognized as an internal or external command.

You need to make sure git.exe is ...READ MORE

May 7, 2019 in Git & GitHub by Yesha
4,001 views
+1 vote
3 answers

Cloning the Git Repository on Eclipse (Transport Error)

File/Import... Select dialog * Git/Projects from Git * click next Select ...READ MORE

Jul 23, 2018 in Git & GitHub by Kalgi
• 49,340 points
3,699 views
0 votes
1 answer

How do I install Git on windows?

Hey @Akash, follow these steps: Go to this ...READ MORE

Feb 19, 2019 in Git & GitHub by Nikhil
75 views
0 votes
1 answer

How do I install Git on CentOS?

Hey @Kiran, installing Git on CentOS is ...READ MORE

Feb 19, 2019 in Git & GitHub by Jobin
41 views
0 votes
1 answer

What all does a version control like git allow us to do?

Version control basically keeps a track of ...READ MORE

Feb 16, 2019 in Git & GitHub by Mariam
162 views
0 votes
2 answers

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

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

Aug 2, 2019 in Git & GitHub by Sirajul
• 44,350 points
109 views
0 votes
2 answers

What's the difference between git push and git commit?

I installed ubuntu on vagrant and gave ...READ MORE

Jan 2, 2019 in Git & GitHub by Ali
• 10,660 points
157 views
0 votes
1 answer

How to install git on ubuntu?

Hey @Ali, installing Git on ubuntu is ...READ MORE

Dec 20, 2018 in Git & GitHub by Eric
111 views
+1 vote
1 answer

What ENTRYPOINT commands are needed in the dockerfile that adds php files into a container

Hope you are doing good! In this step, ...READ MORE

Dec 16, 2018 in Git & GitHub by Kiyara
310 views
0 votes
1 answer

Could I delete any of my commit which I had already push to central repository?

You can't delete, but you can always ...READ MORE

Dec 20, 2018 in Git & GitHub by Eric
60 views
0 votes
1 answer

rebasing vs merging

Merging and rebasing are written for the ...READ MORE

Dec 16, 2018 in Git & GitHub by Kiyara
206 views
0 votes
1 answer

Not able to push the file to the remote repository from the local repository.PFA for the same

Please let me know if you have set ...READ MORE

Dec 17, 2018 in Git & GitHub by Arohi
48 views
0 votes
1 answer

How to get the files from the local desktop to the local repository?

Hey @Ali, Follow these steps to transfer ...READ MORE

Dec 17, 2018 in Git & GitHub by Arohi
40 views
0 votes
1 answer
0 votes
1 answer

git error: RPC failed; curl 56 GnuTLS recv error

This is simple, you’re probably missing openssl ...READ MORE

Sep 26, 2018 in Git & GitHub by Tyrion anex
• 8,320 points
1,821 views
+1 vote
4 answers

GIT plugin in jenkins not able to connect to GIT repository

This looks like a git configuration issue, ...READ MORE

Oct 25, 2018 in Git & GitHub by Alia
2,664 views
0 votes
1 answer

How to locate Git installation folder on a Mac OS X?

By default the git homepage installs into ...READ MORE

Aug 6, 2018 in Git & GitHub by Sophie may
• 9,900 points
2,914 views
0 votes
2 answers

Add images to README.md on GitHub

This is the easiest way to go ...READ MORE

Aug 21, 2018 in Git & GitHub by Nilesh
• 6,920 points
2,094 views
+3 votes
1 answer

Git vs Mercurial

I'm going to put down pros and ...READ MORE

Sep 20, 2018 in Git & GitHub by lina
• 8,180 points
134 views
0 votes
1 answer

Error: git pull fails “unable to resolve reference” “unable to update local ref”

This happens when there are unnecessary files ...READ MORE

Jul 26, 2018 in Git & GitHub by Sophie may
• 9,900 points
2,250 views
0 votes
2 answers

undo git add before commit

git status git will tell you what is ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 6,920 points
871 views
0 votes
3 answers

Change commit message after committing and before push.

You also can use git filter-branch for that. git filter-branch ...READ MORE

Sep 6, 2018 in Git & GitHub by lina
• 8,180 points
210 views
0 votes
1 answer

Change a commit author for a specific commit

You can use interactive rebase. git rebase -i ...READ MORE

Aug 17, 2018 in Git & GitHub by Kalgi
• 49,340 points
480 views
0 votes
2 answers

Delete a git branch locally and remotely

Deleting a remote branch: git push origin --delete ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 6,920 points
322 views
0 votes
2 answers

Delete all git branches that have been merged

To delete all local branches that are ...READ MORE

Aug 21, 2018 in Git & GitHub by Nilesh
• 6,920 points
123 views
0 votes
1 answer

How to give a file execute mode permissions in Git?

You can easily do this in one ...READ MORE

Aug 6, 2018 in Git & GitHub by Sophie may
• 9,900 points
652 views
0 votes
2 answers

Detach/move subdirectory into separate git repo

git filter-branch --prune-empty --subdirectory-filter <YOUR_SUBDIR_TO_KEEP> master git push ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 6,920 points
67 views
0 votes
1 answer

gerrit-cherry-pick:fatal: 'origin' does not appear to be a git repository

The user account making that command does ...READ MORE

Aug 13, 2018 in Git & GitHub by Kalgi
• 49,340 points
299 views
+1 vote
1 answer

Git: Remove committed file after push

check out the previous (unchanged) state of ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 49,340 points
169 views
0 votes
1 answer

Push from phpstorm to bitbucket

I think you haven’t committed the changes ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 49,340 points
208 views
0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

Jul 26, 2018 in Git & GitHub by Sophie may
• 9,900 points
947 views
0 votes
2 answers

Reset commit of remote branch

Just fix the issue on your local, ...READ MORE

Aug 13, 2018 in Git & GitHub by Nilesh
• 6,920 points
102 views
0 votes
1 answer

git - show modified files, except for deleted (or renamed) files

You can use --diff-filter=dr to exclude delete ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 49,340 points
37 views
0 votes
1 answer

difference between git fetch and git pull

Both fetch and pull are used to ...READ MORE

Jun 27, 2018 in Git & GitHub by anonymous
1,891 views
0 votes
1 answer

Why is Git commit not functioning with Git Bash?

This occurs because you might have git ...READ MORE

Aug 7, 2018 in Git & GitHub by Sophie may
• 9,900 points
70 views