Gaurav Aggarwalaggarwalgaurav1012.hashnode.dev·Mar 27, 2024Git and GitHub: A Beginner's GuideIntroduction In the world of software development, version control is essential for managing changes to codebases effectively. Git has revolutionized the way developers collaborate and track changes in their projects. Paired with GitHub, a popular pl...Discusssoftware development
Natasha Sharmanssharma.hashnode.dev·Mar 16, 2024Git Hooks for Perfect Git Commit Message 🪝💌Ever scrolled through a Git repository's log and noticed how chaotic and unstructured the commit messages look? 😨 Writing a good commit message is often overlooked, but it significantly impacts the readability of your project. A well written commit ...Discuss·1 likeDevOpsGitHub
Wachira Nduatiwachiranduati.hashnode.dev·Mar 6, 2024Git & Github. The Full Tour - Part 1Hi and welcome back. So you've probably seen either of the words being thrown around and now you're wondering...what gives? If you found your way here from the many blog posts I'm authoring then not to worry you are in the right path. And thus the qu...DiscussGitHub
Enow Sinkeprominds.hashnode.dev·Feb 26, 2024Remove file from all commits in gitLocally If you realized you added an unnecessary file to a commit and you have not yet pushed this commit… It is best practice to do this on a temporary branch git checkout -b file-remove Say the file you want to remove is called Sample.class git...Discuss·39 readsGit
Abdullah Bin Altafdevopswithabdullah.hashnode.dev·Feb 24, 2024Lecture # 16 - Undoing CommitsUndoing Commits: To undo commits in Git, you have several options depending on your specific needs and the state of your repository. Undo the Last Commit (without changing files): To undo the last commit but keep the changes in your working direct...DiscussDevops
Akash Pateakashpate.com·Feb 24, 2024Delete Pushed CommitAccidently pushed commit to wrong branch ? incomplete code ? With simple command you can delete the commit pushed on the remote. To delete the commit, you need the last commit id, up to which you want to retain the commits. You can get the comment id...DiscussGit
Abhishek KCkcabhishek.com.np·Feb 3, 2024Staging changes in gitOnce we have set up our Git and the repository, we can get started with the version control. We can now work on files and directories in the repository, make changes, and commit those changes. Concepts of Staging When we create or edit an existing fi...DiscussLet's learn GitGitHub
francis ng'ethefrankuleiz.hashnode.dev·Jan 27, 2024Postmortem Report : Database MisconfigurationINCIDENT OVERVIEW: DATE: 25TH JANUARY 2024 START TIME: 1400 HRS (EAT) END TIME: 1530 HRS (EAT) DURATION: 1HR 25 MINS IMPACT: On 25th January 2024 at 1400 hrs an incident occurred that caused the downtime of the main server.The main cause of this in...Discusspostmortem
Mahima Bhardwajartificialintelligencebymahima.hashnode.dev·Jan 24, 2024All About Git CommandsTo clone repository from github to local server git clone https://github.com/YOGINIMAHIMA1/GIT-COMMANDS-.git git status - to check the status of all file git status -s -> to check the status in short ls - to check total number of files git add f...Discuss·10 likesGitHub
S Soumyakantas-soumyakanta.com·Dec 14, 2023How to Remove Accidentally Pushed .env File in Git HistoryRecently I was implementing Google Analytics to my Next.js portfolio website. I saved my Google measurement ID in a .env file. After all the work, I pushed my .env file directly to the online repository without adding it to .gitignore. It was a whole...Discuss·127 readsGit - Tips & TricksGit