Trail
- 3 Devlogs
- 5 Total hours
A VCS (Version Control System) that works on the same core principles as Git.
A VCS (Version Control System) that works on the same core principles as Git.
Welcome to devlog 3 of trail, I have made some changes in src/commands/revertBack.js so it can bring back nested folders and files also when user runs trail revert commitId.
Enable users to push and pull code from GitHub. It is a complex task, but I will try my best to implement this.
Modified the structure of history.json to support nested files also. Before it, trail only saved commit data for root level files.
{
"commitId": "...",
"commitDesc": "Added authentication",
"date": "...",
"files": {
"index.js": "af82bd73...",
"app.js": "b17de09a..."
}
}
{
"commitId": "...",
"commitDesc": "Added authentication",
"date": "...",
"filesAndFolders": {
"D:\\Projects\\my_project_1\\file1.txt": "af82bd73...",
"D:\\Projects\\my_project_1\\src\\app.js": "b17de09a..."
}
}
Welcome to “trail”, a version control system built on the same core principles as Git.
It currently supports only root level files (no nested folders), but I’m actively working on it to expand its features.