Trending questions in Git & GitHub

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
450 views
0 votes
1 answer

How to forcefully commit a file to Git even if the file is ruled as unchanged?

This is simple, just follow the below ...READ MORE

Jul 11, 2018 in Git & GitHub by Sophie may
• 10,610 points
12,573 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
• 52,360 points
10,305 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 3, 2019 in Git & GitHub by Ali
• 11,360 points
2,991 views
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,700 points
7,041 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
691 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
• 10,610 points
9,590 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
664 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
• 59,230 points
1,322 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
2,027 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
1,169 views
0 votes
1 answer

How to install git on ubuntu?

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

Dec 21, 2018 in Git & GitHub by Eric
758 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
766 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 21, 2018 in Git & GitHub by Eric
452 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
558 views
0 votes
1 answer

How to see the different versions of the files that we have amended after we do the commit on git.

I'm not very sure if looking all ...READ MORE

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

meaning of check-in code in github

It simply means to upload code to ...READ MORE

Apr 29, 2018 in Git & GitHub by ajs3033
• 7,300 points
9,616 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
• 52,360 points
4,324 views
+1 vote
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
5,927 views
+1 vote
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
• 7,050 points
3,171 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
• 10,610 points
3,573 views
+1 vote
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
• 7,050 points

edited Dec 21, 2020 by MD 2,808 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
• 52,360 points
2,931 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
• 7,050 points
2,461 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,220 points
1,832 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,220 points
667 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
• 52,360 points
1,663 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
• 52,360 points
1,660 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
• 7,050 points
1,252 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
• 7,050 points
597 views
0 votes
1 answer

How to perform a sonarqube analysis from drone.io in github?

DRONE_PULL_REQUEST  env variable holds the pull request ...READ MORE

Jul 6, 2018 in Git & GitHub by DareDev
• 6,890 points
2,330 views
0 votes
1 answer

Git export/import commits history

This should work $ cd dotnet_newrepo $ git filter-branch ...READ MORE

Jul 12, 2018 in Git & GitHub by Kalgi
• 2,680 points

edited Jul 12, 2018 by Kalgi 1,951 views
0 votes
1 answer

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

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

Jul 5, 2018 in Git & GitHub by Tyrion anex
• 8,700 points
2,044 views
0 votes
1 answer

Where to store credentials for devops?

You can use any of the various ...READ MORE

Jul 23, 2018 in Git & GitHub by Kalgi
• 52,360 points
1,018 views
0 votes
1 answer

what are these - @@--@@ in github

This statement is called the hunk header. You ...READ MORE

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

Replace all code on Bluemix web IDE

I think you can try the following ...READ MORE

Aug 1, 2018 in Git & GitHub by Damon Salvatore
• 5,980 points
351 views
0 votes
1 answer

error saying unmerged paths

Git merging means taking changes from one ...READ MORE

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

How to deploy Git (BitBucket) Capistrano to root directory

Here is what you should do.. The ...READ MORE

Jul 12, 2018 in Git & GitHub by Damon Salvatore
• 5,980 points
1,124 views
0 votes
1 answer

Is there a way to remove a directory from git repository?

This is simple, just follow the commands ...READ MORE

Jul 14, 2018 in Git & GitHub by Sophie may
• 10,610 points
997 views
0 votes
1 answer

Is there a way to find out the URL that a local Git repository was originally cloned from?

Follow the below commands , the URL ...READ MORE

Jul 14, 2018 in Git & GitHub by Sophie may
• 10,610 points
826 views
0 votes
1 answer

Trying to analyse Sonarqube from Drone.io in Github PRs

Just try the below steps.The DRONE_PULL_REQUEST environment variable has ...READ MORE

Jun 27, 2018 in Git & GitHub by shubham
• 7,340 points
944 views
+1 vote
2 answers

Git Commands

This command basically adds all your changes ...READ MORE

Aug 14, 2018 in Git & GitHub by Kalgi
• 52,360 points
753 views
0 votes
1 answer

How to allow the client to switch git branches on a website? (*without technical knowledge, for QA)

I think ,except the two options you ...READ MORE

Jun 17, 2018 in Git & GitHub by shubham
• 7,340 points
901 views
0 votes
1 answer

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

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

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

Git pull vs Git Fetch

The objective of both these commands is ...READ MORE

Apr 26, 2018 in Git & GitHub by DragonLord999
• 8,450 points
1,313 views
0 votes
1 answer

Git origin not found

For this to work, you need to ...READ MORE

Apr 25, 2018 in Git & GitHub by DragonLord999
• 8,450 points
1,218 views
0 votes
1 answer

Version control as source to gitlab

The steps I'm going to tell you ...READ MORE

Apr 23, 2018 in Git & GitHub by ajs3033
• 7,300 points
1,152 views
0 votes
1 answer

Git & GitHub

Even though their names sound the same, ...READ MORE

Apr 26, 2018 in Git & GitHub by DragonLord999
• 8,450 points
957 views
0 votes
1 answer

Git in DevOps

DevOps is an approach to improve the ...READ MORE

Apr 27, 2018 in Git & GitHub by QueenBee
• 1,820 points
805 views
0 votes
1 answer

Configure Git and GitHub

In version control with Git, we deal ...READ MORE

Apr 26, 2018 in Git & GitHub by DragonLord999
• 8,450 points
473 views