Tag: push

How to prevent pushes to heroku when not logged in

I use a semi-public computer and would like to be able to logout (maybe with some setting) and then not be able to push. When I log out, I get the “Local credentials cleared.” message and while I can’t see my logs while logged out, I can push. :/

symlink issue when pushing on gitlab

I have some issue when pushing on a gitlab project repo. When I run git push -u origin master to let’s say a remote repo /Users/home/repositories/root/other.git, I get this output : remote: hooks/update:10: undefined method `require_relative’ for main:Object (NoMethodError) remote: error: hook declined to update refs/heads/master I think it may come from symlinking issue. Because, […]

Github ask for username & password after configuring ssh

I have Created SSH keygen and Just add the Public Key to My Github Account. When I am pushing My local Saved State to Github Repo.It ask for UserName & Password again. Any input would be greatly appreciated.

Git on Windows fails to push local branch

I installed Git Client in Windows and have created a initial branch locally. Currently I am trying to push the first version to the Git Server. But it does not get through successfully. I received the following error message: Pushing to git@(my_git_server).git FATAL ERROR: Network error: Connection timed out fatal: The remote end hung up […]

git workflow: several developers, only 2 branches

I’ve the following situation: One internal server (server1) with the main repo with 2 branches master and dev, four developers with 3 clones of the git working with branches of the dev Rules: the server1/master cannot be touched or merged by the developers every developers needs to update version of server1/master before work and before […]

Is it possible to transfer a git conflict to another machine?

I work both with Linux and with Windows, where I use cygwin for git. The latter is usually good enough, but for more complicated operations it’s damn slow and not all tools are available or work properly. That’s why I quite often push my changes from Windows to my private “server” repository, pull them on […]

How to create a patch in Git since last commit?

What command can I use to create a single patch file containing commits since last push? Thanks, Navneet

Setting up Gitosis : push goes okay, but nothing really pushed on the server

I’m going to work on a project with a teammate, so we decided to set up a Git server. We followed this tutorial : http://git-scm.com/book/en/Git-on-the-Server-Gitosis We created a gitrepo/ directory locally on my computer, and did a git init inside it. Then, we created a index.html file, git add index.html and git commit -m “First […]

How to know git push status without verbosity flag?

I am doing a push to a remote. Specifically, I am forcing the push to recreate the local repo on the remote, overwriting the latter’s master branch. However, I forgot to use the -v verbosity flag. Since the repo I am pushing is quite big (5.2 G) it is taking a long time to push […]

Can't push CSS changes to origin/master.. Everything up-to-date

I am baffled. I made a branch to make css changes to my Ruby on Rails app. Let’s call the branch Update_CSSAfter I made changes, I did git statusand it showed that the css files were not added so I added them with git add app/assets/stylesheets/application.cssThen I committed my changes with git commit -am “Updated […]

Git Baby is a git and github fan, let's start git clone.