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
97,262 views
+1 vote
2 answers

! [rejected] master -> master (fetch first) error: failed to push some refs to 'git@github.com:abc70/new.git'

git push origin master --force I met the ...READ MORE

Apr 29 in Git & GitHub by anonymous
3,552 views
0 votes
1 answer
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

2 days ago in Git & GitHub by Vardhan
• 13,200 points
10 views
0 votes
1 answer

GIT commit Error while pushing to remote repository

Hi@Ajit, To update your local repo to GitHub, ...READ MORE

5 days ago in Git & GitHub by MD
• 24,500 points
30 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 in Git & GitHub by Niroj
• 23,950 points
107 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 in Git & GitHub by MD
• 24,500 points
32 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 10 in Git & GitHub by MD
• 24,500 points
67 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 in Git & GitHub by MD
• 24,500 points
36 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 in Git & GitHub by MD
• 24,500 points
36 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 in Git & GitHub by MD
• 24,500 points
39 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 in Git & GitHub by MD
• 24,500 points
20 views
0 votes
1 answer

How to untrack a file in Git?

Hi@akhtar, You can untrack your file from git ...READ MORE

May 4 in Git & GitHub by MD
• 24,500 points
40 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 in Git & GitHub by MD
• 24,500 points
38 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 in Git & GitHub by MD
• 24,500 points
34 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 in Git & GitHub by MD
• 24,500 points
25 views
0 votes
1 answer

fatal: Not a git repository (or any of the parent directories): .git

Hi@akhtar, I think you didn't initialize your folder ...READ MORE

Apr 29 in Git & GitHub by MD
• 24,500 points
230 views
0 votes
1 answer

fatal: unable to auto-detect email address (got 'none.(none)')

Hi@MD, When you installed git in your system ...READ MORE

Apr 29 in Git & GitHub by akhtar
• 11,270 points
167 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 in Git & GitHub by MD
• 24,500 points
111 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 in Git & GitHub by MD
• 24,500 points
29 views
0 votes
1 answer

fatal: unable to access could not resolve host: GitHub

Hi@akhtar, This can be caused in incorrect proxy ...READ MORE

Apr 10 in Git & GitHub by MD
• 24,500 points
747 views
0 votes
1 answer

fatal: refusing to merge unrelated histories.

Hi@akhtar, It means your work tree and the ...READ MORE

Apr 10 in Git & GitHub by MD
• 24,500 points
397 views
0 votes
1 answer

error on branch master nothing to commit, working directory clean, when try to commit my changes.

Hi@akhtar,  If you already have a .git/ folder ...READ MORE

Apr 10 in Git & GitHub by MD
• 24,500 points
383 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 in Git & GitHub by MD
• 24,500 points
146 views
0 votes
1 answer

error: Could not read error: unable to read tree object HEAD nothing to commit (working directory clean)

Hi@akhtar,  This kind of error may occur if ...READ MORE

Apr 10 in Git & GitHub by MD
• 24,500 points
50 views
+1 vote
1 answer

master -> master (non-fast-forward) error: failed to push some refs to 'git@github.com:abc70/new.git'

Hi@akhtar, To update your local repo to GitHub ...READ MORE

Feb 14 in Git & GitHub by MD
• 24,500 points
1,555 views
0 votes
1 answer

What is the difference between git fetch and git pull?

Hii @kartik, The main difference between git fetch ...READ MORE

Mar 3 in Git & GitHub by Niroj
• 23,950 points
171 views
0 votes
1 answer

Can anyone provide git realtime scenarios?

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

Feb 6 in Git & GitHub by Sirajul
• 53,110 points
186 views
0 votes
2 answers

Can anyone explain the git workflow?

Hi, The workflow of Git is described below First you ...READ MORE

Feb 4 in Git & GitHub by MD
• 24,500 points
69 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 in Git & GitHub by MD
• 24,500 points
96 views
0 votes
0 answers

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

Hi, I accidentally commit in a wrong version. ...READ MORE

Feb 3 in Git & GitHub by akhtar
• 11,270 points
152 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 in Git & GitHub by MD
• 24,500 points
127 views
0 votes
1 answer

git merge: Fast forwarding??

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

Feb 2 in Git & GitHub by MD
• 24,500 points
42 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 in Git & GitHub by akhtar
• 11,270 points
46 views
0 votes
0 answers

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

Hi, I'm new in Git & GitHub. From ...READ MORE

Jan 31 in Git & GitHub by akhtar
• 11,270 points
46 views
0 votes
1 answer

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

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

Jan 31 in Git & GitHub by MD
• 24,500 points
37 views
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
16,945 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
• 53,110 points
336 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
• 53,110 points
104 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
• 53,110 points
75 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
• 10,080 points

closed Nov 25, 2019 by Sirajul 134 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
76 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
• 53,110 points
11,984 views
0 votes
2 answers

How do I install Git on CentOS?

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

Feb 4 in Git & GitHub by MD
• 24,500 points
68 views
0 votes
0 answers
+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
8,883 views
0 votes
4 answers
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
192 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
364 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
80 views