By editor, 6 April, 2021 Squash commits into one with Git, Rebase Tags Git Steps: 1. Update branche git reset --hard origin/features/BRANCHNAME OR git pull origin features/BRANCHNAME
By editor, 3 May, 2018 Install GitLab Community Edition Tags Server Git Linux The official tutorial is hear : https://about.gitlab.com/installation/#debian?version=ce CE or EE : https://about.gitlab.com/installation/ce-or-ee/?distro=debian
By editor, 21 March, 2018 Completely reset GIT repository Tags Git Code Completely reset Delete the .git directory locally. Recreate the git repository: $ cd (project-directory) $ git init $ (add some files) $ git add . $ git commit -m 'Initial commit'
By editor, 2 January, 2018 SSH force usage of a specific key Tags Git Linux Shell To force usage of a specific key, put in your ~/.ssh/config file : Host [HOST_NAME] Hostname [HOST_NAME] User [USER_NAME] Port [PORT] IdentityFile ~/.ssh/[your_private_key]
By editor, 5 September, 2017 Merge two git commits into one Tags Shell Git This is an example to merge 2 last commits. 1. git rebase -i HEAD~2 2. Change pick to squash the commit you want to merge 3. Save and Exit 4. git push -f origin master
By editor, 24 July, 2017 Git - Errors and problems Tags Git Error Cannot push Git to remote repository with http/https return code 22 fatal: git-http-push failed
By editor, 7 July, 2017 Git Tags - Git tag usage Tags Code Git Tag a branche / Version on git git tag THE_TAG_NAME Push tags or a tag to origin ripository git push --tags Show tags list git tag
By editor, 15 May, 2017 Git Tags Tags Drupal 8 Code Git Add remove git tags. Create a tag git tag <TAGNAME> Push tag git push origin <TAGNAME> git push --tags Pull tags git tag -l git checkout tags/<TAGNAME>
By editor, 18 September, 2016 GIT , Remove all old changes and make Current as initial Tags Git Server This is the brute-force method. It also removes the configuration of the repository. Step 1: remove all history rm -rf .git