This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
const filePath = process.argv[2]; | |
if (!filePath) { | |
console.error("Please provide a file path"); | |
process.exit(1); | |
} | |
const data = fs.readFileSync(filePath, "utf8"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "moving to current directory" | |
cd $PWD | |
echo -n "Enter name of the user whose forked branch you want to checkout" | |
read username | |
echo -n "Enter the name of the repository" | |
read repo |