avatar Bipul Raman Engineer | Speaker

Delete all commit history in GitHub

Problem Scenario: You want to delete all commit history but keep the code in its current state.
Solution: To achieve this, follow below steps through command line.
Step 1: Checkout to some new branch
git checkout --orphan new_branch Step 2: Add all the files
git add -A Step 3: Commit the changes
git commit -am "commit message" Step 4: Delete the master branch
git branch -D master Step 5…

April 26, 2019 View post
Create Self-Signed Certificate (.cer & .pfx)

Steps to create self signed certificate on Windows:
Open visual studio Developer Command Prompt as administrator  Execute below mentioned commands in sequential order. It will create a certificate with SHA.256 algorithm.You can modify parameters as per your requirements.
Command format:makecert –a SHA256 -sv SAMPLE.pvk -n "cn=SAMPLE" SAMPLE.cer -b <start_date&…

October 18, 2018 View post
Keeping a fork up-to-date on GitHub

When you are contributing to an open source repository on GitHub, you are allowed to make pull request only through forked repository. In that case, you will always need to keep your fork updated/in-sync with origin/master. You can follow below approach through command line to do that:
Clone your fork from Origin
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.gitJump to the root direct…

August 28, 2018 View post