What do you want to save?
Add Code snippet
New code examples
-
C# 2021-08-27 16:21:01
mvc core 3.1 render action to string
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Co... Add solution -
Shell/Bash 2021-08-27 07:38:01
how to delete a commit in git remotely
If you want to delete for example the last 3 commits, run the following command to remove the changes from the file system (working tree) and commit history (index) on your local branch: git reset --hard HEAD~3 Then run the following command (on your loc... Add solution -
-
Shell/Bash 2021-08-27 00:56:01
git list tracked files
git ls-tree -r master --name-only Add solution -
-
Shell/Bash 2021-08-26 20:12:01
git see all tracked files
git ls-tree -r master --name-only Add solution -
Shell/Bash 2021-08-26 10:41:01
git reset amend
# Move the current head so that it's pointing at the old commit # Leave the index intact for redoing the commit. # HEAD@{1} gives you "the commit that HEAD pointed at before # it was moved to where it currently points at". Note that this is # d... Add solution