As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [git-push]

Pushes the changes from a local Git repo to remote

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

How to upload/push files in folderB to remote repo without adding and commiting certain files form folderA

I have two working folders, say fA and fB. I make changes in both fA and fB. I want to commit and push fB first with a particular commit message (e.g. "changes made to fB)" that is not ...
SJa's user avatar
  • 491
0 votes
1 answer
15 views

Using local private key to push a repository to a git server (github) on a remote server

I have a private key that has access to my GitHub (Also I use it to connect a bunch of servers through SSH) and I use it to push/pull on my GitHub. I have to develop code on a server with the SSH ...
Ali's user avatar
  • 73
1 vote
0 answers
12 views

git push hang and bad file descriptor

First of all I must say that this problem occurs only on one of my repositories. I want to push. Takes very long and after following line Writing objects: 100% (823/823), 73.56 MiB | 34.07 MiB/s, done....
user2609605's user avatar
0 votes
1 answer
25 views

why do i keep getting an error message whenever i git push

when ever i git push it usually give this error message 'The requested URL returned error: 403' i am expected to get something like this'Enumerating objects: 3, done. Counting objects: 100% (3/3), ...
Babatunde Zakariyau's user avatar
-1 votes
0 answers
34 views

move the git folder (hidden folder) into the parent folder

I move the git folder (hidden folder) into the parent folder. I did this because I added some files and it was more appropriate to move my git folder to the parent. but I get this issues then I tried ...
Benamara David's user avatar
-1 votes
0 answers
27 views

How to add folders as whole to Github?

I need to add folders to GitHub using Git Bash without dragging them to Web UI. I used git add <folderName> but its showing "failed to push some refs to" error while pushing. I got ...
Arun's user avatar
  • 19
1 vote
1 answer
46 views

Why am I receiving an HTTP 500 error when trying to sync my VS Code code with GitHub using git push?

Configurations Mac OS: 13.3 VS code: Version: 1.78.2 Error I can't sync my code on VS code with my code on Github 2 files changed, 839 insertions(+), 124 deletions(-) Enumerating objects: 105, done....
cryptomamy's user avatar
-1 votes
0 answers
26 views

Nothing is showing up in my remote repo when I push changes

I am trying to push my work to my remote repo but nothing it showing up in remote. No errors are popping up, it just will not show my changes on GitHub. I do not know what else info to share so I hope ...
BenJoelp's user avatar
0 votes
1 answer
27 views

3:13 error Require statement not part of import statement @typescript-eslint/no-var-requires

I faced this error " 3:13 error Require statement not part of import statement @typescript-eslint/no-var-requires" while pushing repository to github const Koa = require("koa"); ...
Elmond Pattanan's user avatar
0 votes
1 answer
35 views

How do I configure git so I can just push a branch?

Here's what I want: git checkout -b mybranch <make changes> git commit -m'changes' git push The branch I just created with the changes I made to exist on the remote origin. Furthermore, when I ...
bahamat's user avatar
  • 678
0 votes
0 answers
12 views

Why cant I see my 3JS model in my react project?

I am trying to create my portfolio using React, Tailwind, Three.js everything went well until I tried importing the three D model in my project. I am following this tutorial: https://www.youtube.com/...
traveller12's user avatar
0 votes
0 answers
20 views

Why cant i push my code to a repo in github? [duplicate]

I am making my portfolio following the video https://www.youtube.com/watch?v=0fYi8SGA20k&t=1827s No instructions were soo far given for pushing the code. I created a new rope on github and ...
traveller12's user avatar
0 votes
0 answers
24 views

Git still keeps older file names but doesn't show in status

I capitalized some file names (e.g. footer.js to Footer.js). But the issue is that git still keeps the record of older file names but doesn't show these files anywhere even in "git status" ...
Fuaad's user avatar
  • 141
1 vote
1 answer
59 views

How to undo code that is pushed to main branch and merged

I want to undo my push to the main branch which is merged as well. Note: I remember that pushing to the main branch isn't a good practice, but there were some commits showing in my main branch of the ...
Fuaad's user avatar
  • 141
1 vote
2 answers
50 views

fatal error to have remote branch differently named?

I have a local branch foo which is set up, I thought, to track remote branch PROJ-123-foo. But when I tried a simple git push on that branch, I got a fatal error: fatal: The upstream branch of your ...
Steve Summit's user avatar
  • 45.1k
0 votes
3 answers
71 views

Why isn't there one merged button ' GIT commit+push' in IDEA2018 of JetBrain?

I am searching for a version control button 'Git Commit+Push' in Jetbrain IDEA 2018. But there is only a 'Git Push' button, a 'Git Commit' button as they are two separate buttons,but it seems not too ...
James Wang's user avatar
0 votes
0 answers
24 views

How to change the commit ID of a submodule on remote repo?

My current submodule has an incorrect commit ID on the remote repo. How would I do correct it? Simply checkout the commit ID that I want and then push it or I have to delete the submodule from remote ...
tadm123's user avatar
  • 8,218
0 votes
0 answers
28 views

Cannot force push even after unprotecting branches

I made an error pushing a wrong commit to the remote repo and want to go back to the previous commit on the remote repo, so I'm using git push -f to achieve this. I selected my username below in "...
tadm123's user avatar
  • 8,218
0 votes
1 answer
42 views

Remote commit dates not corresponding with local

I recently rebased my most recent commits to my master branch interactively (rebase -i). I squashed multiple commits into just two, discarding unneeded commit messages (fixup), and subsequently pushed ...
Pål Bjartan's user avatar
0 votes
0 answers
39 views

Issue with pulling/pushing code to github

While trying to pull code from Github, it throws this error SSL certificate problem: unable to get local issuer certificate Background - Running on windows, corporate laptop but accessing git doesn't ...
Rishabh Kumar's user avatar
1 vote
1 answer
52 views

How to clone git repository without network connection

The infrastructure: I have two hosts (A and B). I cannot connect from A to B or vice versa. There is no host C which is reachable from host A and host B. I can send e-mails in both directions. ...
Shear Plane's user avatar
0 votes
0 answers
25 views

I cant push changes on my vscode to my repository on github

I'm new to Github and recently made a repository. After cloning it on Visual Studios, I created an HTML file but encountered an error when trying to push it to my repository. The error message stated ...
Oladimeji Olanrewaju's user avatar
0 votes
0 answers
9 views

msvcr120.dll required for C# build

how do I make push update working copy pushed file modifications made in Visual Studio to DevOps. The changes do not show in DevOps. I understand the push went to a non-bare repo. What Do I need to do ...
nathan's user avatar
  • 29
0 votes
0 answers
36 views

Invalid username or password while pushing to the github repo using buildspec.yaml in codebuild

I am trying do CI/CD, I am using codebuild for CI which creates the image and push it to the ECR and for the CD i am using the Argocd to deploy my manifest files in K8S. So, basically i have 2 github ...
omkar chavan's user avatar
0 votes
0 answers
36 views

Unable to push or publish any changes on GitLab

I am getting following error while pushing or publishing a new branch on GitLab repo. Although, i am able to perform other git commands without any errors. XML error: mismatched tag error: no DAV ...
Mayur Patel's user avatar
1 vote
1 answer
36 views

How to fix GitHub profile conflicts?

The global profile on my terminal was 0xminer11 and its committed using the same profile and I want to use the same profile to push the code as well. but while pushing, it was taking on a different ...
Naveen-Arali's user avatar
1 vote
0 answers
36 views

Unable to git push a submodule, but being able to pull it

I am not very skilled in git. I have a git repo, say mainrepo, with a remote one on Bitbucket. mainrepo has a submodule in mainrepo/modules/mymodule. I do not understand exactly what a submodules is, ...
francler's user avatar
0 votes
1 answer
208 views

Git Large File Storage not pushing to repo despite successful uploading of LFS objects

When I run git lfs ls-files -s, LFS tells me that the files are getting tracked: 72face5c11 - client/data.ms/indexes/18a4b1f0-393d-434d-9129-9f15c834fb61/data.mdb (335 MB) 1c383961b7 - client/...
Gaurav Varma's user avatar
2 votes
2 answers
49 views

Push specific commits in git

I have a branch that is composed of several commits. In my particular case, some fixes to the build system, some useful but not important features, and some important features I am developing. * extra ...
jjcasmar's user avatar
  • 1,275
0 votes
1 answer
63 views

git push: pack-objects died of signal 9

On my Ubuntu server, I am trying to push changes to my GitHub repository. However, the command always gets stuck at 99% "writing objects." Before it had this same error, except it stopped at ...
nathaniel_000's user avatar
0 votes
0 answers
31 views

Accidentally deleted all the past commits [duplicate]

I was force pushing something onto my github repository. This was the first time I was using force in a command. After the push, all of my previous commits had been removed from github. I don't know ...
Bhavyabhatia's user avatar
1 vote
1 answer
45 views

Resolve git conlfict with a merge request instead of pushing directly to branch

I have a question about a problem when merging branches after resolving conflict in Gitlab. The conflict is not the issue in itself but I fail to understand what is happening under the hood. The setup ...
David Bowman's user avatar
0 votes
0 answers
44 views

How to get all new committed/check-in files after last PUSH

I am trying to get last check-in files. Requirement is user will check-in a configuration file and that config file will be passed to a script for execution. If there are 4 files checked-in then, I ...
Karki's user avatar
  • 11
0 votes
1 answer
49 views

nodegit bitbucket commit is not working properly nodejs

I am trying to push changes to bitbucket repo using nodegit npm package. Here is the code async function createCommit1(commitMsg) { try { const repo = await NodeGit.Repository.open(bb.repoPath); ...
Sunil Garg's user avatar
  • 14.3k
0 votes
1 answer
33 views

How can i push changes to my main branch? that's the only one I have

I have a repository in which I have only main branch. i want to push my new changes to repository but i am facing this issue I tried everything. i even deleted my master branch which was 2 commits ...
Abdul Samad's user avatar
0 votes
1 answer
14 views

which branch is specified in these git push commands

what is the difference between : git push origin HEAD: <name-of-remote-branch> git push origin CURRENT_BRANCH_NAME Is CURRENT_BRANCH_NAME the name of my local branch or the remote branch ?
user3443063's user avatar
  • 1,389
-1 votes
1 answer
29 views

First coding project: website launches locally from VS Code, but not from Git Pages

I'm struggling with my first little coding project of HTML, CSS, and JS. On the VS code locally, the website looks as intended here However when deploying it via git pages, it looks like this here My ...
otterslacks's user avatar
0 votes
2 answers
205 views

How to fix this: push rejected because it was not a simple fast- forward. use "force: true" to override (spck.io)

I use an IDE on my phone called Spck Editor (it has an online version) and sometimes I get this error when I push code to Github: Push rejected because it was not a simple fast- forward. Use "...
Hiru's user avatar
  • 1
1 vote
1 answer
74 views

How to use different email address for pushing changes to different remotes in git?

I have two remotes for a git repo. One of the remotes is at Bitbucket and the other is at GitHub. Now, I will always push/pull to/from the bitbucket repo and only push to the GitHub repo (You can ...
Junaid's user avatar
  • 65
-1 votes
1 answer
148 views

VS Code can't push to a git repo, but git CLI can

I have cloned a repo via the git CLI like this git clone https://gitlab.myserver.com/myroot/myrepo.git/ Then in VS Code I develop on this repo and I can commit my changes in VS Code. When I now try to ...
halloleo's user avatar
  • 9,010
0 votes
0 answers
47 views

Remote rejected for got push

I am trying to push into gitlab with signing gpg key. In git log I can see good sign received. But when I push I have been getting ‘’’remote: Gitlab: Commit must be signed with a GPG key’’’ Let’s ...
Vikram's user avatar
  • 29
-1 votes
1 answer
55 views

GitHub push issue - displaying invalid password

I am unable to push my commit to github, it's saying invalid username or password Click on the interface below to see the code The interface
Akintayo Akinjare's user avatar
0 votes
0 answers
36 views

How to sync repositories between 2 PCs?

I'm new to github and I've just learned how to push changes. I have a school and home pc, and I often switch between the two depending on where I'm at. I first made my repository on the school pc, and ...
Sigrid-Amazona's user avatar
0 votes
0 answers
72 views

Cloning a TFS repo to Azure Devops using git push added links to incorrect work items in other projects, how do I clean them up?

I cloned a repo from TFS: git clone tfs-url/project To push it to Azure Devops, I ran: git remote set-url origin azuredevops-url/project git push -u origin master I created 1000's of links to ...
Jim's user avatar
  • 1
0 votes
1 answer
38 views

Is it possible to extract a message from the commit and put it as a topic in the pre-push?

I have almost 3 days thinking about it and I can't find a way to make me add a topic without having to do a git push. Is there any way to modify your push after doing a git push? Let me explain: I'm ...
AntoCode's user avatar
  • 385
1 vote
1 answer
197 views

GITHUB: error 403 -> Can't git push even when using PAT (token)

I deleted my account to remake a brand new one with the same email address. I started creating my PAT token as well and I am having an issue with git push. I have tried looking everywhere on the web ...
kquetat-'s user avatar
0 votes
0 answers
15 views

How can I roll back the commit change after pushing my code to the branch?

I have a problem I would appreciate it if you could help me I created a branch in gitlab on top of my main branch and saved 100 changes in a commit and pushed the code How can I go back and save the ...
nahid's user avatar
  • 1
0 votes
1 answer
32 views

Specified wrong branch name for git push -u

I was working in my repository on branch_old but then wanted to create a new branch, lets say branch_new, for my local changes and finally push this new branch onto remote, so I ran git checkout -b ...
Infty's user avatar
  • 13
0 votes
0 answers
22 views

pushing to remote repo using github cli and it's stuck at push (refer to the screenshot below)

I am trying to push my changes using Github CLI and it's not working - basically stuck at the push command. I tried closing github and restarting but its still stuck at this. I haven't tried pushing ...
Rohan Bhandari's user avatar
1 vote
1 answer
490 views

Allowing 'delete branch' without allowing 'rewrite history' in Azure DevOps

If I try to remove a branch from an Azure DevOps GIT repository, the Force Push permission is required, according to the error message that is shown: However, allowing "force pushes" also ...
realbart's user avatar
  • 3,427

1
2 3 4 5
34