Trending questions in Git & GitHub

+1 vote
1 answer

How to force “git pull” to overwrite local files?

Hi@akhtar, First, you need to download the latest from ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
1,518 views
0 votes
1 answer

I want to create a repository on folder level in Git. Is this possible?

That is possible but ideally, you should ...READ MORE

Sep 28, 2020 in Git & GitHub by Mudit
492 views
0 votes
2 answers

fatal: refusing to merge unrelated histories.

Try, git pull origin master --allow-unrelated-histories READ MORE

Aug 1, 2020 in Git & GitHub by Sasi
5,246 views
0 votes
1 answer

How to clone all remote branches in Git?

Hi@akhtar, You can use the git clone command ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
1,223 views
0 votes
2 answers

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

The key difference in is the fact ...READ MORE

Jun 17, 2020 in Git & GitHub by Cameron
• 140 points
8,840 views
+1 vote
1 answer

How to remove untracked files from the current Git working tree?

Hi@akhtar, If you have thousands of file then ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
981 views
0 votes
1 answer

How to delete a remote Git tag?

Hi@MD, It is very simple to delete a ...READ MORE

Sep 4, 2020 in Git & GitHub by akhtar
• 38,230 points
817 views
+1 vote
1 answer

How do I rename a local Git branch?

Hi@akhtar, You can rename your branch name. Sometimes ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
527 views
0 votes
1 answer

How to clone seperate folder individually rather than the whole repository from GitHub?

Hi@akhtar, I don't think you can do that ...READ MORE

Aug 27, 2020 in Git & GitHub by MD
• 95,440 points
498 views
0 votes
1 answer

error: Failed to merge in the changes. hint: Use 'git am --show-current-patch' to see the failed patch Patch failed at 0001 b1

Hi@akhtar, You got this error because you have ...READ MORE

May 11, 2020 in Git & GitHub by MD
• 95,440 points
5,162 views
0 votes
0 answers

I run git tag command but its running continously

READ MORE

Aug 30, 2020 in Git & GitHub by Ravi
• 120 points
359 views
0 votes
1 answer

What is the difference between remote add origin vs remote set-url origin in git?

Hello, If you want to add a new ...READ MORE

May 27, 2020 in Git & GitHub by Niroj
• 82,880 points
3,952 views
0 votes
1 answer

How can I retrieve previous version data in Git & GitHub!!?

Hi@akhtar, You can use reset command to do ...READ MORE

Jul 19, 2020 in Git & GitHub by MD
• 95,440 points
4,486 views
0 votes
1 answer

fatal: The current branch master has no upstream branch

Hi@akhtar, You got this error, because you did ...READ MORE

Apr 30, 2020 in Git & GitHub by MD
• 95,440 points
3,786 views
0 votes
1 answer

error: The branch 'dev1' is not fully merged.If you are sure you want to delete it, run 'git branch -D dev1'.

Hi@akhtar, When you create one new branch in ...READ MORE

May 10, 2020 in Git & GitHub by MD
• 95,440 points
2,675 views
0 votes
1 answer

error: RPC failed; result=18, HTTP code = 200KiB | 5.00 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF

Hi@akhtar, In your case buffer size of git ...READ MORE

Apr 10, 2020 in Git & GitHub by MD
• 95,440 points
3,484 views
0 votes
3 answers

Can anyone explain the git workflow?

HI. The following will help you -Git Workflow Step ...READ MORE

Sep 23, 2020 in Git & GitHub by SRI
1,143 views
0 votes
1 answer

How to configure git send-email in local system?

Hi@akhtar, To use git send-email service you have ...READ MORE

May 4, 2020 in Git & GitHub by MD
• 95,440 points
1,993 views
0 votes
1 answer

Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: .

Hi@akhtar, You may need to upgrade/install the Net::SMTP::SSL ...READ MORE

May 4, 2020 in Git & GitHub by MD
• 95,440 points
1,853 views
0 votes
0 answers

Git tutorial basics cases are explained here

Here is the link to the blog: https://www.edureka.co/blog/git-tutorial/ I ...READ MORE

Jun 4, 2020 in Git & GitHub by Vardhan
• 13,190 points
386 views
0 votes
4 answers
+2 votes
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
• 52,360 points
23,210 views
0 votes
1 answer

How to share images in GitHub from local system?

Hi@akhtar, You can follow the below steps to ...READ MORE

May 7, 2020 in Git & GitHub by MD
• 95,440 points
1,209 views
0 votes
1 answer

How to merge with squash in Git?

Hi@akhtar, If you want to merge your data ...READ MORE

May 13, 2020 in Git & GitHub by MD
• 95,440 points
518 views
0 votes
1 answer

How to create branch in GitHub from my local Git repo?

Hi@akhtar, To sync your existing branch in GitHub, ...READ MORE

May 7, 2020 in Git & GitHub by MD
• 95,440 points
653 views
0 votes
1 answer

How to merge data between Git branches?

Hi@akhtar, You can merge your data between Git ...READ MORE

May 10, 2020 in Git & GitHub by MD
• 95,440 points
477 views
0 votes
1 answer

Implement automation between Git and GitHub.

Hi@akhtar, Every Git repository has a .git/hooks folder with a ...READ MORE

May 4, 2020 in Git & GitHub by MD
• 95,440 points
620 views
0 votes
1 answer

How to roll back to previous version in Git?

Hi@akhtar, You can roll back your previous version ...READ MORE

Apr 29, 2020 in Git & GitHub by MD
• 95,440 points
800 views
+1 vote
1 answer

why we need to add at staging area before commit??

Hi@akhtar, The staging area is like a rough draft space, ...READ MORE

Jul 19, 2020 in Git & GitHub by MD
• 95,440 points
501 views
0 votes
1 answer

Can anyone provide git realtime scenarios?

You work in a team. You are ...READ MORE

Feb 6, 2020 in Git & GitHub by Sirajul
• 59,230 points
1,958 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
12,826 views
0 votes
1 answer

Automatic merge failed; fix conflicts and then commit the result

Hi@Hasid, There are two types of merging in ...READ MORE

Feb 2, 2020 in Git & GitHub by MD
• 95,440 points
1,304 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 7, 2018 in Git & GitHub by Sophie may
• 10,610 points
24,358 views
0 votes
1 answer

How can I set ssh key in GitHub?

Hi@akhtar, First you have to generate key using ...READ MORE

Feb 4, 2020 in Git & GitHub by MD
• 95,440 points
671 views
0 votes
1 answer

git merge: Fast forwarding??

Hi@Hasid, In Git & GitHub, there is a ...READ MORE

Feb 2, 2020 in Git & GitHub by MD
• 95,440 points
559 views
0 votes
1 answer

How merge works in Git & GitHub!!!??

Hi@Hasid, In Git & GitHub merge concept comes ...READ MORE

Jan 31, 2020 in Git & GitHub by MD
• 95,440 points
541 views
0 votes
0 answers

How to use p4merge tool in Git & GitHub?

Hi, Can someone tell me, how to use ...READ MORE

Jan 31, 2020 in Git & GitHub by akhtar
• 38,230 points
456 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
• 59,230 points
1,175 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
• 59,230 points
777 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
• 19,610 points

closed Nov 25, 2019 by Sirajul 732 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 7, 2018 in Git & GitHub by Sophie may
• 10,610 points
20,455 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
• 7,050 points
19,714 views
0 votes
3 answers

What is git rebasing?

HI. Rebase is nothing but a Git utility ...READ MORE

Sep 4, 2020 in Git & GitHub by SRI
981 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
625 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
18,869 views
0 votes
0 answers
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
• 10,610 points
18,265 views
0 votes
2 answers

How do I install Git on CentOS?

Hi, If you want to install Git 1 ...READ MORE

Feb 4, 2020 in Git & GitHub by MD
• 95,440 points
809 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
2,241 views