How to Use Git

Motivation:

You want to use Git to version your files or share your files with other people.

Solution:
mkdir "D:\NETCORE"
git init
git add *.*
git commit -m "add initial files"
git remote add origin https://github.com/huybien/asp.net-core.git
git push -u origin master
  • Push changes to a remote repository.
git add .
git commit -m "CP form"
git push -u origin master
  • Update (fetch and merge) a local repository.
git pull
  • Force updating (fetch and overwrite) a local repository.
git fetch --all
git reset --hard origin/master
git pull

 

 

 

 

How to Hide Your IP Location using VPN in Windows 10

Motivation:

You have VPN credentials and want to hide your IP location for a specific purpose.

Solution:

  • Setup a VPN connection using your VPN credentials.
  • Type and click View network connections in Search box to open the Network Connections window.
  • Right-click the VPN connection and select Properties in the menu.
  • Select the Networking tab.
  • Click the Internet Protocol Version 4 (TCP/IPv4) row, then click the Properties button.
  • Click the Advanced… button.
  • Select Use default gateway on remote network option.