Tag: git

Error (upon exe of post-install script) deploying Angular CLI app to Heroku

I am trying to deploy a simple Angular CLI app (via Git) to Heroku. I followed the instructions on this excellent site to do so: https://medium.com/@ryanchenkie_40935/angular-cli-deployment-host-your-angular-2-app-on-heroku-3f266f13f352#.nqa94v6g1 I got these Heroku post-install script running errors concerning the out-of-the box Angular CLI testing functionality. What’s going on? NOTE: that I have just discovered this occurs even when […]

How can I change the default credentials for Git commit?

I am committing code using TortoiseGit, but I do not have access to the git repository which am committing I want to use other persons username and password to commit. Each time I commit, the commit did not happen because it tries to commit using my credential (Current logged in win user). I want to […]

Git rebase against a release branch for things like hotfixes and patches

At work we use a develop branch for day-to-day work – new features, bug fixes, et al. When we are ready to release, we merge the devleop branch into master, tag, and release. If we are needing to do a hotfix which needs to be released immediately, we create a branch off master, apply changes, […]

Git ignore ANY changes to a git repository

Problem: The way to do it on a per file basis is as follows: git update-index –assume-unchanged <file> But for performance reasons as soon as I initialize a git repository I want to ignore any changes to any file that will be added to the repo. Solution: A solution for this is to put a […]

Android studio git unexpected status r091

I noticed very strange error (bug). Someone in the team renamed or moved some files in the project (via Refactoring), commited and pushed them. I pulled those changes from server, merge them (if needed). But when I tried to commit merge above, got next error – “Commit failed, unexpected status r091” and two file names […]

Downloading data using Github

Complete novice in this. All I want to do is extract these files into any .csv or .xls or similar format. committee-membership-current.yaml from https://github.com/unitedstates/congress-legislators/commit/e008a100629110f3ec6ccf1a30a9003ff285aaad#diff-5a41af9d9d109ba2feb0d5b2bc7c3573 & https://github.com/unitedstates/congress-legislators I see alot of code, where do I plug it in an run!? ha ha , you see I told you I was novice . Surely theres gotta be […]

How do I get rid of the warning “Untracked cache is disabled on this system.”

When running git status I often get multiple warnings: $ git status warning: Untracked cache is disabled on this system. warning: Untracked cache is disabled on this system. warning: Untracked cache is disabled on this system. warning: Untracked cache is disabled on this system. warning: Untracked cache is disabled on this system. warning: Untracked cache […]

Bare git repo post-receive hook no longer able to checkout

I have the common setup of a bare git repo on a web server using a post-receive hook to automatically checkout changes to a web site. This has been working great. However, a coworker recently cloned the bare repo (git clone <ssh url>), made some changes on their local repo, committed them, and then pushed […]

Configuring SSH keys for git to use when not in Git Bash

I’m fairly new to git and have rarely used anything but Windows for programming. I’ve set up a React app using create-react-app, and used gh-pages to deploy it to my github.io project page. I’ve set up an SSH key on my local machine and added it to my github SSH Keys. Running ssh-agent and ssh-add […]

Github – no write access to team's repo in organisation

On Github, I am a member of a team in an organisation with ‘maintainer’ status. We have some repos under the team page, but I cannot git push (have write access?) to any of them. Can someone please tell me what has to happen for me to have write access to the repos?

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