Questions tagged [git-push]

Pushes the changes from a local Git repo to remote

git push is used to push the data and branch changes from your local Git repository to remote.

Popular questions

See also

References

$ git push --help
1705 questions
0
votes
2 answers

Can I delete specific files & folders from the local copy of git repo. & commit/push the code? Everything is done in NetBeans IDE & not from terminal

I'm a PHP developer by profession and I'm a newbie to this thing Git. Also I've No Idea at all about using Git from the Terminal using Git commands. Whatever knowledge I have to use Git is using the NetBeans IDE only. I've been given a local…
PHPLover
  • 1
  • 51
  • 158
  • 311
0
votes
1 answer

Git: One Repo, Three Web Sites?

I have three web sites on my server: DEV, TEST, and LIVE. All three contain the same files and directories, and all three were using a git repo that is now defunct. I have created a new repo and pushed the contents of DEV to it. I then cloned this…
Chris
  • 535
  • 3
  • 20
0
votes
2 answers

Using git on a single server, i.e. no truly remote origin

This seems so dumb, but I can't figure it out. Tons of instructions out there for cloning or adding a remote server, or pushing to a cloned repository. But I'm trying to figure out how to set up a git repository in a shared directory on a server,…
abalter
  • 9,663
  • 17
  • 90
  • 145
0
votes
2 answers

How to push changes to one pull request if you have multiple open ones?

I found a bug in a merged PR and am about to revert it. In the same repo, there is currently another open PR that can't be merged quite yet. I want to push the changes for the bug fix to one of the PRs.. How do I specify which PR to push to? I…
0
votes
2 answers

Cannot push content of folders to remote repo in Git

I encounter following problem. I am working on a project in Java using Eclipse IDE. Our team have remote git repository on Bitbucket. I decided to import our current project to my local computer. As we do not store eclipse project files and only…
Rafichu
  • 70
  • 9
0
votes
2 answers

Wildfly 10 server size increasing on Openshift

I have a wildfly 10 server running on openshift server. The problem I am having is that the wildfly server is continuously increasing its size every time I git push my code to the server. I tried to debug this problem my keeping only one deployment…
user5139637
  • 775
  • 3
  • 10
  • 29
0
votes
1 answer

Push existing git repo to new branch of different repo

I'm using git-tfs to migrate repositories, and due to a quirk of the tool I have to clone/convert a branch to its own repo. How can I push this separate repo, which has its own history and everything, to a branch of an existing repo? I can start…
vaindil
  • 7,536
  • 21
  • 68
  • 127
0
votes
2 answers

git push only one commit from branch

I have a commit C1 in master. I have branched out after that and have made commit C2 in branch. Now I want to push only commit C2 to master.(C1 is not yet ready to be pushed) How to do that.. C2(branch) / | | C1 (master) Thanks..
Exuberant
  • 189
  • 2
  • 13
0
votes
1 answer

not able to push changes in smartgit.it shows merging in project folder

I am using SmartGit and when I take a pull(merge and pull), it shows 'merging' on my project folder in repositories window and it is not allowing me to push my change.
Ash
  • 1
0
votes
1 answer

why would Heroku re-install all gems on Nth deployment with same gems?

I did a push to Heroku, modified a little code (but no gem and no asset changes) and then pushed again. The second time, the deploy messages indicated all the gem were 'installed' instead of saying 'using' the prior gems. Why might Heroku re-install…
jpw
  • 18,697
  • 25
  • 111
  • 187
0
votes
1 answer

Why I get the errors when the `git push origin master` command is working?

I am learning git. I use the Git for Windows. Why I get the errors when the git push origin master command is working? I have written the script (BAT-file) for showing of this problem: :: script.bat ::====================== :: Git repositories…
Andrey Bushman
  • 11,712
  • 17
  • 87
  • 182
0
votes
1 answer

GIT repository across local file system in windows

I already have a Git repository on my computer. I want to setup a remote repository for that in my computer for example in /path/to/remote. So I used git initto initiate an empty repository. Then I used this command: $ git remote add test…
hasanghaforian
  • 13,858
  • 11
  • 76
  • 167
0
votes
1 answer

After push, git says everything up to date but changes are not in the repo

I'm pretty new to using Git, so maybe I'm doing something basic wrong. What I'm trying to do is push the commits of a branch to the remote repo on Github. I tried the following line git push origin Interface It returns 'Everything up-to-date', but…
Tuma
  • 603
  • 1
  • 7
  • 35
0
votes
1 answer

Error in pushing modified local folder to github

I have a folder called Users/poudel/Copy/github/Astro. i also have a repository called Astro in my github account. in the Astro directory i gave follwing commands: git add Astro git commit -m "updated folder" git push origin master then it showed…
BhishanPoudel
  • 15,974
  • 21
  • 108
  • 169
0
votes
2 answers

How can I copy ROR application to my local drive

I am building web app with one guy based on my idea (trying to avoid overused word 'startup'), I'm responsible for the front end, he is/was doing back end using ROR. On top of delaying the launch (January, May, now August and no way it's going to…
Pejs
  • 265
  • 5
  • 15
1 2 3
99
100