Git | Frequently used commands

To check for any changes in the files.

View Change history and comments.

To see the change history per file

See changed files history

Commit the change

To revert back a commit

To create a clone of your local repository

To create a bare clone(A clone with the .git database alone) as a central repository

To see remote branches

Add/remove a remote branch

Push local changes to remote branch

If you want to start tracking a remote branch with git status command, run below command.

Continue reading “Git | Frequently used commands”

Automatically add Partition for Partitioned Tables

This stored procedure helps automatically create new partition on a new file group to an already partitioned table. I have tested the script in my testlab. Please review and let me know for any corrections if required.

Continue reading “Automatically add Partition for Partitioned Tables”