When things go wrong, for example, caused by a bad commit, we need to revert back to an earlier known...
Better way is use .gitattributes, see Merge Strategies Use Case If we use an open source in our project, e.g...
We use a process called pull request, or PR for short, to contribute to open source. Prerequisites
error: cannot update the ref 'refs/remotes/origin/master': unable to append to '.git/logs/refs/remotes/origin/master': Permission denied ! 1ac19fbc1e..0c0a40cfb4 master -> origin/master (unable to update...
Deprecated method. Use this instead. See also this For example, if we have an upstream remote from magento-lts, and...
Magento 1 is end of life. I want to migrate an existing Mage repo to the latest from Magento...
I wrote some code in some files in a folder called AA. I have a repo in remote in Bitbucket...
2 to 3 remote repositories in GitHub and 2 local repositories: [GitHub] Go to an owner repository (eg OpenMage...
I use TortoiseGit, with default options, ie, merge with ff. Applicable for hot-fixes and small features. Branch Naming
If I want to compare changes on a topic branch to master, I find it easiest and safest to do...
"git is not a deployment tool, so don't do that" http://gitolite.com/deploy.html Set up SSH keys
http://jonathannicol.com/blog/2013/11/19/automated-git-deployments-from-bitbucket/ http://symmetrycode.com/super-easy-deployment-with-git-and-bitbucket/ Bitbucket provides git hooks that can be used for code deployment. Code...
Push Git Repo Into Shared Hosting Account Like Hostgator What's required is that git client is install in the...
First, install git server in the machines. Then, install git client in local machine. After creating the remote and local...
When other made changes and push those changes to remote repository, we can pull those changes to our local repository...
Branches are like "Save as..." on a directory. Best of all: Easily merge changes with the original (changes tracked and...
Some files in a repository change often but are rarely committed. Usually, these are various local configuration files that are...
When using TortoiseGit to push a commit, there is an error: git did not exit cleanly (exit code 128...
A separate staging step in git is in line with the philosophy of getting out of the way until you...
Every project needs a README file. Your README appears on the project Overview page and introduces your project.
Create Local Repository Download GitHub for Windows or use something similar, which includes a shell Launch Git Shell
Best results in other decks
makandra offers an 8 month paid trainee program 🇩🇪 for junior developers that are looking to start a professional career in...
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...