mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
added git config
This commit is contained in:
parent
49145f1caf
commit
230df78ac3
@ -5,7 +5,10 @@ const git = simpleGit(repositoryRootPath);
|
||||
const packageJsonFilePath = path.join(repositoryRootPath, 'package.json');
|
||||
const packageLockFilePath = path.join(repositoryRootPath, 'package-lock.json');
|
||||
|
||||
// TODO config git.credentials()
|
||||
git.addRemote(
|
||||
'origin',
|
||||
`https://atom:${process.env.AUTH_TOKEN}@github.com/atom/atom.git/`
|
||||
);
|
||||
module.exports = {
|
||||
switchToMaster: async function() {
|
||||
const { current } = await git.branch();
|
||||
|
Loading…
Reference in New Issue
Block a user